package net.csdn.business.common.oauth2.service;

import net.csdn.business.common.domain.request.oauth.NewOauthAuthLogDTO;
import net.csdn.business.common.domain.request.oauth.OauthAuthLogQuery;

/**
 * 应用授权明细Service接口
 * 
 * @author zhangyl
 * @date 2022-11-16
 */
public interface IOauthAuthLogService
{


    /**
     * 根据clientId、userName、authDate查询此用户当前授权的次数
     *
     * @param query 应用授权明细
     * @return 应用授权明细集合
     */
    public Integer selectOauthAuthLogCount(OauthAuthLogQuery query);



    /**
     * 新增应用授权明细
     * 
     * @param oauthAuthLog 应用授权明细
     * @return 结果
     */
    public void insertOauthAuthLog(NewOauthAuthLogDTO oauthAuthLog);

}
